package cn.com.clearboot.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "mayikt")
public class TokenProperties {

    /**
     * 在配置文件中是 token-redis-host
     */
    private String tokenRedisHost;

    /**
     * 在配置文件中是 token-redis-pwd
     */
    private String tokenRedisPwd;

    public String getTokenRedisHost() {
        return tokenRedisHost;
    }

    public void setTokenRedisHost(String tokenRedisHost) {
        this.tokenRedisHost = tokenRedisHost;
    }

    public String getTokenRedisPwd() {
        return tokenRedisPwd;
    }

    public void setTokenRedisPwd(String tokenRedisPwd) {
        this.tokenRedisPwd = tokenRedisPwd;
    }

    @Override
    public String toString() {
        return "tokenRedisPwd:"+tokenRedisPwd+",tokenRedisPwd:"+tokenRedisPwd;
    }
}
